<?php
/**
 * SignAbstract.php
 * Created by PhpStorm.
 * User: 江小波
 * Date: 2019/5/10
 * Time: 9:56
 */
namespace app\api\sign;

abstract class SignAbstract
{
    abstract public function get();
    abstract public function check();

    protected function getAppSecretByKey($appKey){
        $app = [
            // appKey => appSecret
            'a888889850b0458aa03ba7d3b8a6609e' => '8d5e1d0263474b3382bbde8d2f4a47fb'
        ];
        return $app[$appKey];
    }
}